<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
 <style type="text/css">
 	#formDiv{
 		margin: auto;
 		
 	}
 	#center{
 		margin: auto;
 	}
 	#content{
 		width: 700px;
 		height: 600px;
 	}
 </style>
 <script src="../js/jquery-2.1.1.js"></script>
 <script type="text/javascript">
	$(document).ready(function() {
		$('#cancel').on('click',function(){
			history.back();	
		});
	});
 </script>
</head>
<body>

<div id="formDiv">
	<div id="center" align="center">
	<form action="writeBoard.action" method="post">
			지역 :<select id="state" name="state">
						<option value="서울">서울</option>
						<option value="경기">경기</option>
						<option value="인천">인천</option>
						<option value="강원">강원</option>
						<option value="충남">충남</option>
						<option value="충북">충북</option>
						<option value="대전">대전</option>
						<option value="세종">세종</option>
						<option value="부산">부산</option>
						<option value="울산">울산</option>
						<option value="대구">대구</option>
						<option value="경북">경북</option>
						<option value="경남">경남</option>
						<option value="광주">광주</option>
						<option value="전북">전북</option>
						<option value="전남">전남</option>
						<option value="제주">제주</option>
					</select>
					
			제 목 :<input type="text" id="title" name="boardVo.title"><br/>
			<s:textarea id="content" name="boardVo.content"/><br/>
			<input type="submit" value="글쓰기" id="compete">
			<input type="button" value="취소" id="cancel"> 
		</form>
	</div>
</div>
</body>
</html>